@layout("/common/_container.html",{bg:"bg-white",js:["/assets/modular/system/product/js/productAdd.js"]}){
<form id="ordForm"  lay-filter="ordForm" class="layui-form model-form" action="/Product/AddProductSave"  enctype="multipart/form-data" method="post" >
    <style >
        input{
            margin: 10px 2px 10px 30px;
            width: 300px;
            height: 30px;
        }
        label{
            display: inline-block;
            margin: 10px 2px 10px 30px;
            position: relative;
            top:5px;
        }
        #PRValue{
            border: 1px #00a2d4 solid;
        }
        #PRValue p{
            margin-left: 20px;
        }
        #PRValue div span{
            margin-left: 50px;
        }
    </style>
    <div class="layui-form-item" style="padding-left:20px ">
        <input type="hidden" name="id">
        <div style="display: inline-block ;width: 200px" >商品名字:</div>    <input  placeholder="商品名字" name="name"></br>
        <div style="display: inline-block ;width: 200px" > 商品说明/副标题: </div> <input  placeholder=" 商品说明/副标题" name="caption"></br>
        <div style="display: inline-block ;width: 232px" >缩略图:</div><a id="butImg" ><img style="border: 1px red solid" id="productImg" src="" width="50px" height="50px"/></a></br>
        <input type="hidden" name="thumbnail" id="url">
        <!--  <input  placeholder="缩略图" name="thumbnail" type="file"></br>-->
        <!--  <input  placeholder=" 商品介绍" name="introduction">&lt;!&ndash;****************&ndash;&gt;</br>-->
        <div style="display: inline-block ;width: 200px" > 商品种类: </div>
        <div style="display: inline-block;width: 300px">
            <select name="productCategoryId" id="productCategoryId" lay-verify="required" lay-filter="xmFilter">
                <option value="-1">商品种类</option>
            </select>
        </div></br>
        <div style="display: inline-block ;width: 200px" > 商品编号: </div>  <input  placeholder=" 商品编号" name="sn"></br>
        <div style="display: inline-block ;width: 200px" > 商品销量: </div>   <input  placeholder=" 商品销量" name="sales"></br>
        <div style="display: inline-block ;width: 200px" > 价  格:</div> <input  placeholder="价格" name="price"></br>
        <div style="display: inline-block ;width: 200px" >原  价: </div>  <input  placeholder="原价" name="marketPrice"></br>
        <div style="display: inline-block ;width: 200px" >库  存: </div>  <input  placeholder="库存" name="stock"></br>
        <div style="display: inline-block ;width: 200px" >序   号:</div>   <input  placeholder="序号" name="sortNum"></br>
        <div style="display: inline-block ;width: 200px" > <label>  是否推荐 </label></div>
        <input type="radio" name="isRecommend" value="1" title="是">   <input type="radio" name="isRecommend" value="0" title="否" checked>
        <input type="hidden" name="parameterValue" id="parameterValue" value='[{"name":"网络","parameterGroup":[{"key":"网络类型\t","value":"4G全网通"},{"key":"网络模式","value":"双卡双待单通，主副卡不区分卡槽，Nano SIM"}]}]'>
        <a id="aTosl" style="display: inline-block; cursor:pointer;border: 1px black solid;width: 60px;height: 20px"> 更改参数</a>
    </div>
    </div>
    </div>

    <div class="layui-form-item text-right">
        <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
    </div>
</form>
@}
